home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 6: Level 6
/
17 Bit - Level 6 (1998)(Epic Marketing)[!].iso
/
quartz
/
q0480.dms
/
q0480.adf
/
prephdo
< prev
next >
Wrap
AmigaDOS Script File
|
1993-06-15
|
2KB
|
55 lines
.key drive
.bra {
.ket }
.def drive 0
failat 31
echo "A1200 Hard Disk Prep."
echo "*NThis will low-level format your hard disk (SCSI unit {drive})."
echo "The drive will be re-partitioned to the standard configuration."
echo "This software is intended for use with Commodore hard disk"
echo "controllers."
echo "If you continue, any information on the hard disk will be lost."
ask "*NAre you sure you want to continue ?"
if not warn
echo "Operation cancelled."
skip exit
endif
:Prod_prep Unit {drive} layout :PrepScript
set return `echo $RC`
if val "$return" EQ 1
echo "*NUnable to open SCSI Unit {drive}."
echo "Please check your hardware and try again."
skip exit
endif
if val "$return" GE 10
echo "*NAttempting to prep the hard disk failed."
echo "Please check your hardware and try again."
skip exit
endif
if val "$return" GE 5
; there's something already there and not enough room.
echo "*NCan't fit new partition on hard drive because"
echo "other partitions have used up all the space."
ask "*NDo you want to overwrite all the other partitions ?"
if not warn
echo "Operation cancelled."
echo "NOTE: You may have to use HDToolBox to adjust the"
echo "partition sizes manually."
skip exit
endif
:Prod_prep >NIL: Unit {drive} layout :PrepScriptForce
set return `echo $RC`
endif
if val "$return" GE 10
echo "*NAttempting to prep the hard disk failed."
echo "Please check your hardware and try again."
else
echo "*NHard disk prep completed."
echo "*NPlease reboot the machine and run the FormatHD utility."
endif
lab exit